//
//  Genearch.h
//  Eath
//
//  Created by yuhaya on 10/15/14.
//  Copyright (c) 2014 yuhaya. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface Genearch : NSObject

@property(nonatomic,assign) NSString * identify;
@property(nonatomic,strong) NSString * name;//用户的登录名称
@property(nonatomic,strong) NSString * card;
@property(nonatomic,strong) NSString * phone;
@property(nonatomic,strong) NSString * photo;
@property(nonatomic,strong) NSString * password;
@property(nonatomic,strong) NSString * full_name;//用户的真实姓名
@property (nonatomic,assign) NSString * relation;
@property (nonatomic,assign) NSInteger sex;//0->男 1->女
@property (nonatomic,assign) BOOL main; //标示是否为主家长

- (id) initWithId:(NSString *)identify andName:(NSString *)name andRelation:(NSString *)relation andPhoto:(NSString *)photo andCard:(NSString *)card andPhone:(NSString *)phono andMain:(BOOL) main andSex:(NSInteger)sex andFullName:(NSString *)full_name andPwd:(NSString *)pwd;

- (void) setId:(NSString *)identify andName:(NSString *) name andRelation:(NSString *)relation andPhoto:(NSString *)photo andCard:(NSString *)card andPhone:(NSString *)phono andMain:(BOOL) main andSex:(NSInteger)sex andFullName:(NSString *)full_name andPwd:(NSString *)pwd;
@end
